package be.robotscrapyard;

import com.google.wave.api.AbstractRobotServlet;
import com.google.wave.api.Blip;
import com.google.wave.api.Event;
import com.google.wave.api.RobotMessageBundle;
import com.google.wave.api.TextView;

@SuppressWarnings("serial")
public class ParrotyServlet extends AbstractRobotServlet
{	
	@Override
	public void processEvents(RobotMessageBundle bundle) 
	{
		for (Event e: bundle.getBlipSubmittedEvents()) 
		{
			Blip blip = e.getBlip();
	        TextView textView = blip.getDocument();
	        textView.append(" HAHAHA DISREGARD THAT, I SUCK COCKS");
	    }		
	}
}
